// TOWN DIALOGUE SCRIPT
//    Town 147: Angel's Rest

begintalkscript;

variables;

short i,j,k,r1,choice;

// Adrianne

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 1;
	question = "Adrianne";
	text1 = "A young, radiant woman works behind the bar. She moves like a sylph, almost floating off the ground. The mead she is serving smells so good that it makes you feel a little fuzzy.";
	text2 = "She smiles. _I'm Adrianne. May I help you?_";
	text5 = "Adrianne continues to float elegantly behind the counter, renting rooms and serving mead. She seems completely unaffected by the war and carnage going on outside.";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = 2;
	question = "_What can I buy here?_";
	text1 = "_Well, you're in luck. Our best room is available. Only eight coins. Better, we still have some of our wonderful, locally-made mead. A mere ten coins for a round._";

begintalknode;
	state = 1;
	nextstate = 3;
	condition = coins_amount() >= 10;
	question = "_I'll have a round of mead._ Pay ten coins.";
	text1 = "The mead is rich and exquisite. Soon, your head is spinning. You hadn't realized how much you were being deprived of in Avernum.";
	text2 = "When you're done, Adrianne leans close. _Another round of mead will only be twenty coins. From the good private stock. I don't usually sell this, but I like your face!_";
	code =
		force_char_status(30000,1,20);
		change_coins(-10);
	break;

begintalknode;
	state = 3;
	nextstate = 4;
	condition = coins_amount() >= 20;
	question = "_Another round of mead, milady._ Pay 20 coins.";
	text1 = "She fills your goblet with the ambrosia. As she does, she makes conversation. _You know, some soldiers were through here recently. They talked about having seen dragons._";
	code =
		force_char_status(30000,1,20);
		force_char_status(30000,3,20);
		force_char_status(30000,5,20);
		change_coins(-20);
	break;

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_Really? Where did they see the dragons?_";
	text1 = "_It sounds fishy, if you ask me, but they said they saw some dragons flying overhead near some mountains somewhere. Northwest, I think. One of them was a captain, and she said she was going to Lorelei. That's to the north. Her name was, um, Krud. Something like that._";
	text2 = "_If you see him and are interested, be sure to ask._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = coins_amount() >= 8;
	question = "_I'll take a room._ Pay eight coins.";
	text1 = "She leads you a nice, neat room. _Be sure to come back later for the mead! It's excellent._ She winks at you and returns to the bar.";
	action = END_TALK;	
	code =
		revive_party();
		change_coins(-8);
		relocate_char(get_pc_id(0),15,20,FALSE);
		relocate_char(get_pc_id(1),16,20,FALSE);
		relocate_char(get_pc_id(2),16,21,FALSE);
		relocate_char(get_pc_id(3),15,21,FALSE);
	break;

begintalknode;
	state = 2;
	nextstate = 5;
	question = "_Anyplace an adventurer can get work around here?_";
	text1 = "_I'd go look around in Sharimik. I know they're always looking for adventurers there. But be careful. They can be, well, intolerant types._";
	text3 = "_I'd go look around in Sharimik. I know they're always looking for adventurers there._";
	code =
		if (species_in_party(3))
			remove_string(3);
			else remove_string(1);
	break;

begintalknode;
	state = 5;
	nextstate = -1;
	condition = nephil_present() > 0;
	question = "_What do you mean?_";
	text1 = "_They don't like nephilim there, or anywhere north of here. Sharimik might not give you much trouble, but up north? Could be a problem for you._";
	text2 = "_Just a friendly warning._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = 1;
	question = "_I don't need anything._";
	text1 = "_Not a problem. Excuse me._ She gives you a smile and helps some other customers.";
	action = END_TALK;
